export interface CustomerInfoTableColumns {    
  id:number;  // 序号    
  customerId:string;  // 客户编号    
  customerName:string;  // 客户名称    
  contactPerson:string;  // 联系人    
  contactPhone:string;  // 联系电话    
  customerProvince:string;  // 省份    
  customerCity:string;  // 市    
  customerCounty:string;  // 区县    
  customerAddress:string;  // 地址    
  customerStatus:string;  // 状态    
  tenantId:string;  // 租户编号    
  tenantName:string;  // 租户名称    
  createdBy:string;  // 创建人    
  createdAt:string;  // 创建时间    
}


export interface CustomerInfoInfoData {    
  id:number|undefined;        // 序号    
  customerId:string|undefined; // 客户编号    
  customerName:string|undefined; // 客户名称    
  contactPerson:string|undefined; // 联系人    
  contactPhone:string|undefined; // 联系电话    
  customerProvince:string|undefined; // 省份    
  customerCity:string|undefined; // 市    
  customerCounty:string|undefined; // 区县    
  customerAddress:string|undefined; // 地址    
  customerStatus:boolean; // 状态    
  tenantId:string|undefined; // 租户编号    
  tenantName:string|undefined; // 租户名称    
  createdBy:string|undefined; // 创建人    
  createdAt:string|undefined; // 创建时间    
  updatedBy:string|undefined; // 更新人    
  updatedAt:string|undefined; // 更新时间    
}


export interface CustomerInfoTableDataState {
  ids:any[];
  tableData: {
      data: Array<CustomerInfoTableColumns>;
      total: number;
      loading: boolean;
      param: {
          pageNum: number;
          pageSize: number;            
          id: number|undefined;            
          customerId: string|undefined;            
          customerName: string|undefined;            
          contactPerson: string|undefined;            
          contactPhone: string|undefined;            
          customerProvince: string|undefined;            
          customerCity: string|undefined;            
          customerCounty: string|undefined;            
          customerAddress: string|undefined;            
          customerStatus: string|undefined;            
          tenantId: string|undefined;            
          tenantName: string|undefined;            
          createdBy: string|undefined;            
          createdAt: string|undefined;            
          dateRange: string[];
      };
  };
}


export interface CustomerInfoEditState{
  loading:boolean;
  isShowDialog: boolean;
  formData:CustomerInfoInfoData;
  rules: object;
}